﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLToolbox.Types
{
    public class DatabaseType
    {
        public DatabaseType(string typeName)
        {
            TypeName = typeName;
            HasLength = false;
        }

        public DatabaseType(string typeName, int length)
        {
            TypeName = typeName;
            HasLength = true;
            Length = length;
        }

 
        public string TypeName { get; set; }
        public int Length { get; set; }
        public bool HasLength { get; set; }

    }
}
